/**
 * org.vz.product.collect.maintain.service.impl
 * @since : jdk 1.8
 */
package org.vz.product.collect.maintain.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.vz.product.collect.maintain.dao.GetNamesDao;
import org.vz.product.collect.maintain.domain.GetNames;
import org.vz.product.collect.maintain.service.GetNamesService;

/**
 * @author morik is Yongxu.Wang 获取服务名称
 * @CreateTime 2017年11月06日 17:01:06
 * @version 1.0.0
 * @description
 */
@Service
public class GetNamesServiceImpl implements GetNamesService {
	@Autowired
	GetNamesDao getNamesDao;

	@Override
	public List<GetNames> getNames() {
		return getNamesDao.getSQLManager().select("messagelog.getName", GetNames.class);
	}

}
